﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JzSport.Model
{
    class ImageResourceRepository
    {
        private JzSportDbContext _dbContext;

        public ImageResourceRepository(JzSportDbContext dbContext)
        {
            _dbContext = dbContext;
        }

        public void Save(ImageResource image)
        {
            _dbContext.Set<ImageResource>().Add(image);
        }
    }
}
